<?php
namespace addon\kindeditor\controller;
use app\common\controller\AddonFrontBase;
use tpfcore\Core;

/**
 * 编辑器插件
 */
class Editor extends AddonFrontBase
{
    /**
     * 图片上传
     */
    public function pictureUpload()
    {

        $result=Core::loadAddonModel("ControllerBase","common","controller")->kd_upload();
        
        exit(json_encode($result));
    }
}
